package com.slz3.business.module.goodsManagement.gooGoods.enums;

import lombok.AllArgsConstructor;

/**
 * 是否是积分商品
 */
@AllArgsConstructor
public enum GoodsIsactiveEnum {
    YESSEND("积分商品"),        //1
    NOSEND("不是积分商品");   //2
    private String nickname;

    public static boolean isPoints(GoodsIsactiveEnum flag) {
        return YESSEND.equals(flag);
    }

    public static boolean isCash(GoodsIsactiveEnum flag) {
        return NOSEND.equals(flag);
    }
}
